package com.mm.user;

import com.mm.common.strategy.StrategyFactory;
import com.mm.user.domain.dto.LoginFormDTO;
import com.mm.user.strategy.AccountLogin;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @BelongsProject: 8.mindmap
 * @BelongsPackage: com.mm.user
 * @Author : 游在海里的鱼
 * @CreateTime : 2024-05-11  21:46
 * @Version : 1.0
 * @ClassName : TODO
 * @Description : TODO
 */
@SpringBootApplication
@MapperScan({"com.mm.common", "com.mm.user"})
public class UserApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(UserApplication.class, args);
        StrategyFactory.setApplicationContext(run);
    }
}
